package com.leyou.item.mapper;

import com.leyou.item.entity.Brand;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface BrandMapper extends Mapper<Brand> {

    int insertBrandCategory(@Param("bid") Long bid, @Param("cids") List<Long> cids);

    void deleteBrandCategory(@Param("id") Long id);

    List<Brand> queryBrandByCategory(@Param("id") Long id);
}
